Coupon_X\Frontend\Couponx_Frontend D

Total Complexity 190
Dependencies 1
Dependents 0
Total lines 1,039
Lines of code 792
Logical lines of code 400
Comment lines 122
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
render_an_dialog()
D
29
30 128
render_coupon_dialog()
C
33 23 104
render_link_dialog()
C
33 22 103
render_discount_tab()
B
34 21 87
render_email_dialog()
B
35 17 90
get_coupon_classes()
A
42 15 51
is_discount_applicable()
A
49 10 33
load_fonts()
A
43 9 45
is_valid_product()
S
53 7 23
is_valid_min_req()
S
55 6 21
apply_cx_coupon_link()
S
59 6 14
apply_coupon_from_session()
S
62 6 11
display_coupon_widget()
S
52 5 26
render_coupon_form()
S
57 5 17
is_valid_date()
S
62 3 11
include_coupon_scripts()
S
57 2 16
clean_json_string()
S
73 2 4
__construct()
S
66 1 8